//
//  School Controller.m
//  CaiPiao
//
//  Created by l wb on 2018/5/18.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "SchoolController.h"
#import "SchoolDetailController.h"
@interface SchoolController ()

@end

@implementation SchoolController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationItem.title = @"彩种学堂";
}
- (IBAction)buttonClickAction:(UIButton *)sender {
    NSLog(@"%ld",(long)sender.tag);
    SchoolDetailController *detailVC = [[UIStoryboard storyboardWithName:@"SchoolStoryboard" bundle:nil] instantiateViewControllerWithIdentifier:@"SchoolDetailController"];
    detailVC.number = sender.tag;
    [self.navigationController pushViewController:detailVC animated:YES];
    
}



@end
